package org.nobody.mallb2c.mallware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.nobody.common.utils.PageUtils;
import org.nobody.mallb2c.mallware.entity.WareInfoEntity;
import org.nobody.mallb2c.mallware.vo.FareVo;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author fancier
 * @email fancier2093@gmail.com
 * @date 2020-07-30 15:47:39
 */
public interface WareInfoService extends IService<WareInfoEntity> {

  PageUtils queryPage(Map<String, Object> params);

  /**
   * 根据用户的收货地址计算运费
   * @param addrId
   * @return
   */
  FareVo getFare(Long addrId);
}

